<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>注册</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords"
	content="Flatro Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Custom Theme files -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!-- Custom Theme files -->
<!--webfont-->
<link
	href='http://fonts.useso.com/css?family=Lato:100,200,300,400,500,600,700,800,900'
	rel='stylesheet' type='text/css'>
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
<!-- start menu -->
<link href="css/megamenu.css" rel="stylesheet" type="text/css"
	media="all" />
<script type="text/javascript" src="js/megamenu.js"></script>
<script>$(document).ready(function(){$(".megamenu").megamenu();});</script>
<script>
$(document).ready(function(c) {
	$('.alert-close').on('click', function(c){
		$('.message').fadeOut('slow', function(c){
	  		$('.message').remove();
		});
	});	  
});	  
</script>
<script type="text/javascript">
	$(document).ready(function(){
		$(":input").blur(function(){
			if($("#regName").val()==""){
				$("tips_name").html("用户名不能为空！");
				$("#regName").focus();
				return false;
			}
			else{
				$("tips_name").html("OK！");
			}
			if($("#phoneNumber").val()==""){
				$("#tips_phoneNumber").html("电话不能为空！");
				$("#phoneNumber").focus();
				return false;
			}
			else{
				$("#tips_phoneNumber").html("OK！");
			}
			if($("#regPwd").val()==""){
				$("#tips_pwd").html("密码不能为空！");
				$("#regPwd").focus();
				return false;
			}
			else {
				$("#tips_pwd").html("Ok！");				
			}	
		});
		
		$("#submitRegist").on('click',function(){
			$("#formRegist").attr("action","Usergist").submit(); 
			return true;
		});
	});
	
	
	
</script>
</head>
<body>
	<div class="header_top">
		<div class="container">

			<div class="cssmenu">
				<ul>
					<li class="active"><a href="login.jsp">登录</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="header_bottom men_border">
		<div class="container">
			<div class="col-xs-9 header-bottom-left">
				<div class="col-xs-2 logo">
					<h1>
						<a href="index.jsp"><span>注</span>册</a>
					</h1>
				</div>
				<div class="col-xs-7 menu">
					<ul class="megamenu skyblue">
						<li class="active grid"><a class="color1" href="index.html">主页</a>
						<li class="grid"><a class="color2" href="#">女装</a>
						<li><a class="color4" href="about.html">购物车</a></li>
						<li><a class="color5" href="404.html">备注</a></li>
						<li><a class="color6" href="contact.html">其他</a></li>
					</ul>
				</div>
			</div>
			<div class="col-xs-3 header-bottom-right">
				<div class="search">
					<input type="text" name="s" class="textbox" value="Search"
						onfocus="this.value = '';"
						onblur="if (this.value == '') {this.value = 'Search';}"> 
						<input type="submit" value="Subscribe" id="submit" name="submit">
					<div id="response"></div>
				</div>

				<div class="clearfix"></div>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
	<div class="single_top">
		<div class="container">
			<div class="register">
				<form method="post" action=" " id="formRegist">
					<div class="register-top-grid">
						<h3>个人信息</h3>
						<div>
							<span>姓名<label>*</label></span> 
							<input type="text" name="regName" id="regName">
							<span id="tips_name"></span>
						</div>

						<div>
							<span>电话<label>*</label></span> 
							<input type="text" name="phoneNumber" id="phoneNumber">
							<span id="tips_phoneNumber"></span>
						</div>
						<div class="clearfix"></div>
						<a class="news-letter" href="#"> <label class="checkbox">
						<input type="checkbox" name="checkbox" checked=""><i> </i>新用户注册</label>
						</a>
					</div>
					<div class="register-bottom-grid">
						<h3>登陆信息</h3>
						<div>
							<span>密码<label>*</label></span>
							 <input type="text" name="regPwd" id="regPwd">
							 <span id="tips_pwd"></span>
						</div>
						<div>
						<span>用户类型<label>*</label></span> 
							买家<input type="radio" name="typeUser" value="buyer" checked="checked"> 
							卖家<input type="radio" name="typeUser" value="seller">
						</div>
						<div class="clearfix"></div>
					</div>
					<div class="register-but">
						<input type="submit" value="注册" id="submitRegist">
						<div class="clearfix"></div>
					</div>
				</form>
				<div class="clearfix"></div>

			</div>
		</div>
	</div>

	<div class="footer_bottom">
		<div class="copy">
			<p>
				Copyright &copy; 2016.Company name All rights reserved.- More
				Templates 我们组</a>
			</p>
		</div>
	</div>


</body>
</html>